<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="https://cdn.bootcdn.net/ajax/libs/phaser/3.60.0/phaser.min.js"></script>
  <script src="main.js"></script>
  <script src="canvas.js"></script>
  <script src="sorted.js"></script>
  <link rel="stylesheet" type="text/css" href="style.css">
  <title>demo</title>
  
</head>
<body class="box">
  <div>
    <div id="container"></div>
    <div class="help">
      <div style="float: left;">
        墙体数：<span id="ballLen"></span>
      </div>
      <div>
        <button onclick="localStorage['map'] = JSON.stringify(map)">保存</button>
        <button onclick="localStorage.removeItem('map');window.location.reload()">清除</button>
        <button onclick="setStart()">设置起点</button>
        <button onclick="setEnd()">设置终点</button>
        <button onclick="start()">查找</button>
        <button onclick="draw()">绘制</button>
      </div>
      <div style="float: right;">
        路径数：<span id="pathLen"></span>
      </div>
    </div>
  </div>
</body>
</html>